/*
 * @Descripttion: 
 * @version: 
 * @Author: guangyunl
 * @Date: 2024-01-12 15:41:07
 * @LastEditors: guangyunl
 * @LastEditTime: 2024-03-14 23:32:48
 */
const Main_Option = {
    headerAlign: "center",
    align: "center",
    border: true,
    index: true,
    menuWidth: 150,
    // editBtn: false,
    // delBtn: false,
    editBtnIcon: ' ',
    delBtnIcon: ' ',
    // dialogMenuPosition: 'center',
    // defaultExpandAll:true,
    column: [
      {
        label: "标题",
        prop: "title",
        search: true,
        rules: [{
          required: true,
          message: "请输入标题",
          trigger: "blur"
        }],
      },
      {
        label: "图片",
        prop: "image",
        rules: [{
          required: true,
          message: "请输入图片链接",
          trigger: "blur"
        }],
      },
      {
        label: "状态",
        prop: "status",
        type: 'select',
        search: true,
        dicData: [
          {
            label: '正常',
            value: 1,
          },
          {
            label: '停用',
            value: 0,
          }
        ],
        rules: [{
          required: true,
          message: "请选择状态",
          trigger: "blur"
        }],
      },
      {
        label: "新建时间",
        prop: "createdAt",
        display: false,
      },
      {
        label: "最后更新时间",
        prop: "updatedAt",
        display: false,
      },
    ]
  }
  
  const Main_Data = []
  
  export {
    Main_Option,
    Main_Data,
  }
  